// vite.config.ts
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "file:///D:/%E6%A1%8C%E9%9D%A2/%E5%BF%AB%E9%80%92%E4%BB%A3%E5%8F%96%E7%B3%BB%E7%BB%9F/Express-Pickup/node_modules/vite/dist/node/index.js";
import vue from "file:///D:/%E6%A1%8C%E9%9D%A2/%E5%BF%AB%E9%80%92%E4%BB%A3%E5%8F%96%E7%B3%BB%E7%BB%9F/Express-Pickup/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import vueDevTools from "file:///D:/%E6%A1%8C%E9%9D%A2/%E5%BF%AB%E9%80%92%E4%BB%A3%E5%8F%96%E7%B3%BB%E7%BB%9F/Express-Pickup/node_modules/vite-plugin-vue-devtools/dist/vite.mjs";
import AutoImport from "file:///D:/%E6%A1%8C%E9%9D%A2/%E5%BF%AB%E9%80%92%E4%BB%A3%E5%8F%96%E7%B3%BB%E7%BB%9F/Express-Pickup/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///D:/%E6%A1%8C%E9%9D%A2/%E5%BF%AB%E9%80%92%E4%BB%A3%E5%8F%96%E7%B3%BB%E7%BB%9F/Express-Pickup/node_modules/unplugin-vue-components/dist/vite.js";
import { VantResolver } from "file:///D:/%E6%A1%8C%E9%9D%A2/%E5%BF%AB%E9%80%92%E4%BB%A3%E5%8F%96%E7%B3%BB%E7%BB%9F/Express-Pickup/node_modules/@vant/auto-import-resolver/dist/index.esm.mjs";
var __vite_injected_original_import_meta_url = "file:///D:/%E6%A1%8C%E9%9D%A2/%E5%BF%AB%E9%80%92%E4%BB%A3%E5%8F%96%E7%B3%BB%E7%BB%9F/Express-Pickup/vite.config.ts";
var vite_config_default = defineConfig({
  plugins: [
    vue(),
    AutoImport({
      resolvers: [VantResolver()]
    }),
    Components({
      resolvers: [VantResolver()]
    }),
    vueDevTools()
  ],
  resolve: {
    alias: {
      "@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
    }
  },
  server: {
    proxy: {
      "/api": {
        target: "http://localhost:8080",
        // 你的后端服务器地址
        changeOrigin: true,
        rewrite: (path) => path.replace(/^\/api/, "")
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFxcdTY4NENcdTk3NjJcXFxcXHU1RkVCXHU5MDEyXHU0RUUzXHU1M0Q2XHU3Q0ZCXHU3RURGXFxcXEV4cHJlc3MtUGlja3VwXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ZpbGVuYW1lID0gXCJEOlxcXFxcdTY4NENcdTk3NjJcXFxcXHU1RkVCXHU5MDEyXHU0RUUzXHU1M0Q2XHU3Q0ZCXHU3RURGXFxcXEV4cHJlc3MtUGlja3VwXFxcXHZpdGUuY29uZmlnLnRzXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ltcG9ydF9tZXRhX3VybCA9IFwiZmlsZTovLy9EOi8lRTYlQTElOEMlRTklOUQlQTIvJUU1JUJGJUFCJUU5JTgwJTkyJUU0JUJCJUEzJUU1JThGJTk2JUU3JUIzJUJCJUU3JUJCJTlGL0V4cHJlc3MtUGlja3VwL3ZpdGUuY29uZmlnLnRzXCI7aW1wb3J0IHsgZmlsZVVSTFRvUGF0aCwgVVJMIH0gZnJvbSAnbm9kZTp1cmwnXHJcblxyXG5pbXBvcnQgeyBkZWZpbmVDb25maWcgfSBmcm9tICd2aXRlJ1xyXG5pbXBvcnQgdnVlIGZyb20gJ0B2aXRlanMvcGx1Z2luLXZ1ZSdcclxuaW1wb3J0IHZ1ZURldlRvb2xzIGZyb20gJ3ZpdGUtcGx1Z2luLXZ1ZS1kZXZ0b29scydcclxuaW1wb3J0IEF1dG9JbXBvcnQgZnJvbSAndW5wbH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